package org.dromara.community.service.impl;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.dromara.community.entity.AsComplaint;
import org.dromara.community.entity.dto.AsComplaintDTO;
import org.dromara.community.mapper.AsComplaintMapper;
import org.dromara.community.service.AsComplaintService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AsComplaintServiceimpl extends ServiceImpl<AsComplaintMapper, AsComplaint> implements AsComplaintService {

    // 七牛云的accessKey
    private static String accessKey = "bia0cM3uFDJ69kx_tzT255eeyNjQ2EomQuv5nKaT";

    // 七牛云的secretKey
    private static String secretKey = "_EhxA9ZRNm-JjR7Q6IdxdQeIOziG_v9A9xKTy3Fq";

    // 七牛云的存储空间名称
    private static String bucket = "commpro";

    // 七牛云的存储空间链接
    private static String path = "http://shfflvwvr.hb-bkt.clouddn.com";

    @Autowired
    private AsComplaintMapper asComplaintMapper;

    @Override
    public List<AsComplaintDTO> selectAll() {
        List<AsComplaintDTO> maps = asComplaintMapper.selectAll();
        return maps;
    }
}
